﻿using System.Collections.Generic;

namespace Chimp.Core
{
    public class Var
    {
        public bool IsStatic = false;
        public Var(string n, string t)
        {
            Name = n;
            IsArray = false;
            Auto = false;
            CurType = t;
            IsList = false;
            Exprs = new List<JointNode>();
        }

        public bool IsList { get; set; }
        public bool IsArray { get; set; }
        public string Name { get; set; }
        public string CurType { get; set; }
        public List<JointNode> Exprs { get; set; }
        public bool Auto { get; set; }
    }
}